interface Question {
  stem: string;
  difficulty: number;
  answer: (string | number)[];
  hint1: string;
  hint2: string;
  solution: string;
}

const 一元一次方程_QUESTIONS: Question[] = [
  { stem: '解方程：x + 5 = 12', difficulty: 1, answer: [7], hint1: '两边同时减去5', hint2: 'x = 12 - 5', solution: '【小学生解法】\\n\\n方程：x + 5 = 12\\n\\n解题步骤：\\n1. 要求x，需要把+5移到等号右边\\n2. 移项时+5变成-5\\n3. x = 12 - 5\\n4. x = 7\\n\\n验证：7 + 5 = 12 ✓\\n\\n答：x = 7' },

  { stem: '解方程：2x = 18', difficulty: 1, answer: [9], hint1: '两边同时除以2', hint2: 'x = 18 ÷ 2', solution: '【小学生解法】\\n\\n方程：2x = 18\\n\\n解题步骤：\\n1. 要求x，需要把系数2除掉\\n2. 两边同时除以2\\n3. x = 18 ÷ 2\\n4. x = 9\\n\\n验证：2 × 9 = 18 ✓\\n\\n答：x = 9' },

  { stem: '解方程：x - 8 = 15', difficulty: 1, answer: [23], hint1: '两边同时加上8', hint2: 'x = 15 + 8', solution: '【小学生解法】\\n\\n方程：x - 8 = 15\\n\\n解题步骤：\\n1. 要求x，需要把-8移到等号右边\\n2. 移项时-8变成+8\\n3. x = 15 + 8\\n4. x = 23\\n\\n验证：23 - 8 = 15 ✓\\n\\n答：x = 23' },

  { stem: '解方程：3x + 4 = 19', difficulty: 2, answer: [5], hint1: '先移项，再除以系数', hint2: '3x = 19 - 4，然后x = 15 ÷ 3', solution: '【小学生解法】\\n\\n方程：3x + 4 = 19\\n\\n解题步骤：\\n1. 把+4移到右边：3x = 19 - 4\\n2. 计算右边：3x = 15\\n3. 两边除以3：x = 15 ÷ 3\\n4. x = 5\\n\\n验证：3 × 5 + 4 = 15 + 4 = 19 ✓\\n\\n答：x = 5' },

  { stem: '解方程：5x - 7 = 23', difficulty: 2, answer: [6], hint1: '先移项，再除以系数', hint2: '5x = 23 + 7，然后x = 30 ÷ 5', solution: '【小学生解法】\\n\\n方程：5x - 7 = 23\\n\\n解题步骤：\\n1. 把-7移到右边：5x = 23 + 7\\n2. 计算右边：5x = 30\\n3. 两边除以5：x = 30 ÷ 5\\n4. x = 6\\n\\n验证：5 × 6 - 7 = 30 - 7 = 23 ✓\\n\\n答：x = 6' },

  { stem: '解方程：2x + 3x = 25', difficulty: 2, answer: [5], hint1: '先合并同类项', hint2: '2x + 3x = 5x', solution: '【小学生解法】\\n\\n方程：2x + 3x = 25\\n\\n解题步骤：\\n1. 合并同类项：2x + 3x = 5x\\n2. 得到：5x = 25\\n3. 两边除以5：x = 25 ÷ 5\\n4. x = 5\\n\\n验证：2 × 5 + 3 × 5 = 10 + 15 = 25 ✓\\n\\n答：x = 5' },

  { stem: '解方程：4x - x = 21', difficulty: 2, answer: [7], hint1: '先合并同类项', hint2: '4x - x = 3x', solution: '【小学生解法】\\n\\n方程：4x - x = 21\\n\\n解题步骤：\\n1. 合并同类项：4x - x = 3x\\n2. 得到：3x = 21\\n3. 两边除以3：x = 21 ÷ 3\\n4. x = 7\\n\\n验证：4 × 7 - 7 = 28 - 7 = 21 ✓\\n\\n答：x = 7' },

  { stem: '解方程：2(x + 3) = 16', difficulty: 3, answer: [5], hint1: '先去括号', hint2: '2(x + 3) = 2x + 6', solution: '【小学生解法】\\n\\n方程：2(x + 3) = 16\\n\\n解题步骤：\\n1. 去括号：2 × x + 2 × 3 = 16\\n2. 得到：2x + 6 = 16\\n3. 移项：2x = 16 - 6\\n4. 计算：2x = 10\\n5. 除以2：x = 10 ÷ 2\\n6. x = 5\\n\\n验证：2(5 + 3) = 2 × 8 = 16 ✓\\n\\n答：x = 5' },

  { stem: '解方程：3(x - 2) = 15', difficulty: 3, answer: [7], hint1: '先去括号', hint2: '3(x - 2) = 3x - 6', solution: '【小学生解法】\\n\\n方程：3(x - 2) = 15\\n\\n解题步骤：\\n1. 去括号：3 × x - 3 × 2 = 15\\n2. 得到：3x - 6 = 15\\n3. 移项：3x = 15 + 6\\n4. 计算：3x = 21\\n5. 除以3：x = 21 ÷ 3\\n6. x = 7\\n\\n验证：3(7 - 2) = 3 × 5 = 15 ✓\\n\\n答：x = 7' },

  { stem: '解方程：x/2 = 8', difficulty: 2, answer: [16], hint1: '两边同时乘以2', hint2: 'x = 8 × 2', solution: '【小学生解法】\\n\\n方程：x/2 = 8\\n\\n解题步骤：\\n1. 要求x，需要消除分母2\\n2. 两边同时乘以2\\n3. x = 8 × 2\\n4. x = 16\\n\\n验证：16/2 = 8 ✓\\n\\n答：x = 16' },
  { stem: "解方程：13x + 16 = 37", difficulty: 1, answer: [1.6153846153846154], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "13x = 37 - 16 = 21\nx = 21 ÷ 13 = 1.6153846153846154" },
  { stem: "解方程：14x + 17 = 39", difficulty: 1, answer: [1.5714285714285714], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "14x = 39 - 17 = 22\nx = 22 ÷ 14 = 1.5714285714285714" },
  { stem: "解方程：15x + 18 = 41", difficulty: 1, answer: [1.5333333333333334], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "15x = 41 - 18 = 23\nx = 23 ÷ 15 = 1.5333333333333334" },
  { stem: "解方程：16x + 19 = 43", difficulty: 1, answer: [1.5], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "16x = 43 - 19 = 24\nx = 24 ÷ 16 = 1.5" },
  { stem: "解方程：17x + 20 = 45", difficulty: 1, answer: [1.4705882352941178], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "17x = 45 - 20 = 25\nx = 25 ÷ 17 = 1.4705882352941178" },
  { stem: "解方程：18x + 21 = 47", difficulty: 1, answer: [1.4444444444444444], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "18x = 47 - 21 = 26\nx = 26 ÷ 18 = 1.4444444444444444" },
  { stem: "解方程：19x + 22 = 49", difficulty: 1, answer: [1.4210526315789473], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "19x = 49 - 22 = 27\nx = 27 ÷ 19 = 1.4210526315789473" },
  { stem: "解方程：20x + 23 = 51", difficulty: 1, answer: [1.4], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "20x = 51 - 23 = 28\nx = 28 ÷ 20 = 1.4" },
  { stem: "解方程：21x + 24 = 53", difficulty: 2, answer: [1.380952380952381], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "21x = 53 - 24 = 29\nx = 29 ÷ 21 = 1.380952380952381" },
  { stem: "解方程：22x + 25 = 55", difficulty: 2, answer: [1.3636363636363635], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "22x = 55 - 25 = 30\nx = 30 ÷ 22 = 1.3636363636363635" },
  { stem: "解方程：23x + 26 = 57", difficulty: 2, answer: [1.3478260869565217], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "23x = 57 - 26 = 31\nx = 31 ÷ 23 = 1.3478260869565217" },
  { stem: "解方程：24x + 27 = 59", difficulty: 2, answer: [1.3333333333333333], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "24x = 59 - 27 = 32\nx = 32 ÷ 24 = 1.3333333333333333" },
  { stem: "解方程：25x + 28 = 61", difficulty: 2, answer: [1.32], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "25x = 61 - 28 = 33\nx = 33 ÷ 25 = 1.32" },
  { stem: "解方程：26x + 29 = 63", difficulty: 2, answer: [1.3076923076923077], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "26x = 63 - 29 = 34\nx = 34 ÷ 26 = 1.3076923076923077" },
  { stem: "解方程：27x + 30 = 65", difficulty: 2, answer: [1.2962962962962963], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "27x = 65 - 30 = 35\nx = 35 ÷ 27 = 1.2962962962962963" },
  { stem: "解方程：28x + 31 = 67", difficulty: 2, answer: [1.2857142857142858], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "28x = 67 - 31 = 36\nx = 36 ÷ 28 = 1.2857142857142858" },
  { stem: "解方程：29x + 32 = 69", difficulty: 2, answer: [1.2758620689655173], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "29x = 69 - 32 = 37\nx = 37 ÷ 29 = 1.2758620689655173" },
  { stem: "解方程：30x + 33 = 71", difficulty: 2, answer: [1.2666666666666666], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "30x = 71 - 33 = 38\nx = 38 ÷ 30 = 1.2666666666666666" },
  { stem: "解方程：31x + 34 = 73", difficulty: 2, answer: [1.2580645161290323], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "31x = 73 - 34 = 39\nx = 39 ÷ 31 = 1.2580645161290323" },
  { stem: "解方程：32x + 35 = 75", difficulty: 2, answer: [1.25], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "32x = 75 - 35 = 40\nx = 40 ÷ 32 = 1.25" },
  { stem: "解方程：33x + 36 = 77", difficulty: 3, answer: [1.2424242424242424], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "33x = 77 - 36 = 41\nx = 41 ÷ 33 = 1.2424242424242424" },
  { stem: "解方程：34x + 37 = 79", difficulty: 3, answer: [1.2352941176470589], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "34x = 79 - 37 = 42\nx = 42 ÷ 34 = 1.2352941176470589" },
  { stem: "解方程：35x + 38 = 81", difficulty: 3, answer: [1.2285714285714286], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "35x = 81 - 38 = 43\nx = 43 ÷ 35 = 1.2285714285714286" },
  { stem: "解方程：36x + 39 = 83", difficulty: 3, answer: [1.2222222222222223], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "36x = 83 - 39 = 44\nx = 44 ÷ 36 = 1.2222222222222223" },
  { stem: "解方程：37x + 40 = 85", difficulty: 3, answer: [1.2162162162162162], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "37x = 85 - 40 = 45\nx = 45 ÷ 37 = 1.2162162162162162" },
  { stem: "解方程：38x + 41 = 87", difficulty: 3, answer: [1.2105263157894737], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "38x = 87 - 41 = 46\nx = 46 ÷ 38 = 1.2105263157894737" },
  { stem: "解方程：39x + 42 = 89", difficulty: 3, answer: [1.205128205128205], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "39x = 89 - 42 = 47\nx = 47 ÷ 39 = 1.205128205128205" },
  { stem: "解方程：40x + 43 = 91", difficulty: 3, answer: [1.2], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "40x = 91 - 43 = 48\nx = 48 ÷ 40 = 1.2" },
  { stem: "解方程：41x + 44 = 93", difficulty: 3, answer: [1.1951219512195121], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "41x = 93 - 44 = 49\nx = 49 ÷ 41 = 1.1951219512195121" },
  { stem: "解方程：42x + 45 = 95", difficulty: 3, answer: [1.1904761904761905], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "42x = 95 - 45 = 50\nx = 50 ÷ 42 = 1.1904761904761905" },
  { stem: "解方程：43x + 46 = 97", difficulty: 3, answer: [1.186046511627907], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "43x = 97 - 46 = 51\nx = 51 ÷ 43 = 1.186046511627907" },
  { stem: "解方程：44x + 47 = 99", difficulty: 3, answer: [1.1818181818181819], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "44x = 99 - 47 = 52\nx = 52 ÷ 44 = 1.1818181818181819" },
  { stem: "解方程：45x + 48 = 101", difficulty: 4, answer: [1.1777777777777778], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "45x = 101 - 48 = 53\nx = 53 ÷ 45 = 1.1777777777777778" },
  { stem: "解方程：46x + 49 = 103", difficulty: 4, answer: [1.173913043478261], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "46x = 103 - 49 = 54\nx = 54 ÷ 46 = 1.173913043478261" },
  { stem: "解方程：47x + 50 = 105", difficulty: 4, answer: [1.1702127659574468], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "47x = 105 - 50 = 55\nx = 55 ÷ 47 = 1.1702127659574468" },
  { stem: "解方程：48x + 51 = 107", difficulty: 4, answer: [1.1666666666666667], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "48x = 107 - 51 = 56\nx = 56 ÷ 48 = 1.1666666666666667" },
  { stem: "解方程：49x + 52 = 109", difficulty: 4, answer: [1.163265306122449], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "49x = 109 - 52 = 57\nx = 57 ÷ 49 = 1.163265306122449" },
  { stem: "解方程：50x + 53 = 111", difficulty: 4, answer: [1.16], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "50x = 111 - 53 = 58\nx = 58 ÷ 50 = 1.16" },
  { stem: "解方程：51x + 54 = 113", difficulty: 5, answer: [1.1568627450980393], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "51x = 113 - 54 = 59\nx = 59 ÷ 51 = 1.1568627450980393" }
];

export default 一元一次方程_QUESTIONS;
